
package com.dly.blog.domain.ro;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * @Author: DaiLiYu
 * @Date: 2023/7/21 16:13
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class OpLogRO extends PageRO {

    @Schema(description = "id")
    private String id;

    @Schema(description = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private LocalDateTime startTime;

    @Schema(description = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private LocalDateTime finishTime;

    @Schema(description = "消耗时间范围 小")
    private Long minTime;

    @Schema(description = "消耗时间范围 大")
    private Long maxTime;


}
